package cn.stylefeng.guns.modular.business.frequency.ordertransportrelation.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * tt_order_transport_relation
 *
 * @author yujie
 * @date 2023/05/09 17:16
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderTransportRelationParam extends BaseParam {

    /**
     * id
     */
    @NotNull(message = "id不能为空",groups = {edit.class})
    private Long id;

    /**
     * order_id
     */
    @NotNull(message = "order_id不能为空",groups = {add.class,edit.class})
    private Long orderId;

    /**
     * transport_id
     */
    @NotNull(message = "transport_id不能为空",groups = {add.class,edit.class})
    private Long transportId;

}
